package net.wanho.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import net.wanho.dto.UserDTO;
import net.wanho.entity.User;

import java.util.List;

/**
 * Author：汤小洋
 * Date：2024-12-18 14:07
 * Description：<描述>
 */
public interface UserService extends IService<User> {

    User login(String username, String password);

    List<User> findByCondition(UserDTO userDTO);

    Page<User> findByPage(int pageNum, int pageSize, String username);
}
